gsk: Small documentation additions
authorMatthias Clasen <mclasen@redhat.com>
Sun, 9 Feb 2020 00:36:25 +0000 (19:36 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 9 Feb 2020 00:36:25 +0000 (19:36 -0500)
gsk/gskenums.h
gsk/gskrendernode.h

index 2e24a81abd0218caee3a9137b941ab1619998e51..1851918bd1362352837bd6345f3eca3ecced1b63 100644 (file)
@@ -45,6 +45,7 @@
  * @GSK_CROSS_FADE_NODE: A node that cross-fades between two children
  * @GSK_TEXT_NODE: A node containing a glyph string
  * @GSK_BLUR_NODE: A node that applies a blur
+ * @GSK_DEBUG_NODE: Debug information that does not affect the rendering
  *
  * The type of a node determines what the node is rendering.
  **/
index ae69124c5ee8b7003a09e2b8ce008bb30a6c4737..17a0549d36283190da1a9a280a86fa46c7dcbfb2 100644 (file)
@@ -53,6 +53,15 @@ struct _GskShadow
   float radius;
 };
 
+/**
+ * GskParseErrorFunc:
+ * @section: the #GtkCssSection where the error occurred
+ * @error:  the error
+ * @user_data: user data
+ *
+ * The type of callback that is called when a parse error occurs
+ * during deserialization of node data.
+ */
 typedef void           (* GskParseErrorFunc)                    (const GtkCssSection *section,
                                                                  const GError        *error,
                                                                  gpointer             user_data);